home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 157 < prev    next >
Encoding:
Text File  |  1996-08-05  |  5.6 KB  |  123 lines

  1. Newsgroups: comp.dcom.modems
  2. Path: rowdy.lonestar.org!nemesis!uhclem
  3. From: uhclem@nemesis.lonestar.org (Frank Durda IV)
  4. Subject: Re: A real 16550A
  5. X-Newsreader: Tin 1.1 PL5
  6. Organization: The Big Blue Box
  7. Message-ID: <DKEvCv.65v@nemesis.lonestar.org>
  8. References: <4c1jla$33p@news.computek.net>
  9. Date: Sat, 30 Dec 1995 18:00:30 GMT
  10.  
  11. [0]In article <4buagu$hrs@pirate.shu.edu>, Butkusmi@lanmail.shu.edu` says:
  12. [0]How can you check your 16550 chip to see if it really has a FIFO. I did
  13. [0]a check on a Gateway 486-66 that suppose to have a 16550 and some 
  14. [0]software program said it did't have a buffer.  Is there a shareware 
  15. [0]program that checks the 16550 out to see if it really has a buffer?
  16.  
  17. The problem is that there is the real NS16550A, then there are "similar"
  18. ??16550[A]s made by other companies.  Only a few vendors bother to actually
  19. license the National megacell (the only way to assure 100% identical
  20. function), and since National has patents on the added FIFO anyway,
  21. other vendors take certain liberties with the design so that they
  22. can avoid patent infringement AND still work under the Windows driver.
  23. These differences may show up when using other drivers, or particular
  24. events occur that were not well tested or considered in the Windows driver.
  25. If you are using another OS, then you may be in trouble.
  26.  
  27. In working with numerous modem vendors and 16550-clone makers, I found
  28. that the benchmark to success according to the chip vendors was whether
  29. or not MSD said it was a 16550 plus whether one or two Windows-based
  30. applications using the Microsoft drivers from 3.11 WFW would run correctly.
  31. That was the criteria.  Not very impressive.
  32.  
  33. National has a program called COMTEST (you can find it on their BBS
  34. and supposedly it is on SIMTEL mirrors) that compares your 16550 against
  35. the National chip.  Of course, the program is biased, as National wants
  36. to show as many differences (read: terrible incompatibilities) between
  37. their part and these "imposters".   I used COMTEST on chips from the other
  38. vendors and they did howl when they found out.  But it did prove a point
  39. that their chips were different.  It was then up to the vendor to
  40. convince me that the differences were so minor that they would never cause
  41. any application to malfunction.
  42.  
  43. I tested parts made by National, TI, StarTech, and CMD plus some 16550s in
  44. the form of megacells embedded in internal modems.  Here are some of
  45. the results:  
  46.  
  47. (These tests were performed in 1994 and may not reflect the current product
  48.  performance of that vendor)
  49.  
  50. Part number            Errors aka "differences" reported
  51. National PC16550DV         0 *
  52.  
  53. National NS16550AFN        0
  54.  
  55. TI (TL16550AFN)            3
  56.  
  57. CMD 16C550PE            19
  58.  
  59. StarTech (ST16C550J)        23
  60.  
  61. Rockwell reference
  62. modem with internal
  63. 16550 (RC144DPi/C3000-25)     117 (test modified so that it would not abort)
  64.  
  65. Sierra modem with internal
  66. 16550 (SC11951/SC11351)        91 (test modified so that it would not abort)
  67.  
  68. Now you can't learn a lot from the raw error count.  For example, most
  69. of the errors in the modems with internal UARTs was caused by the
  70. UARTs not supporting 5 and 6 bit characters modes.   The real
  71. 16550/16450/8250 supports these modes and COMTEST checks for this, but who
  72. uses them in a modern modem?  So for a modem you can discount those errors
  73. (over 50), bringing the difference counts down quite a bit lower.
  74.  
  75. Some of the remaining problems were still disturbing, like being able
  76. to read 16 bytes from the FIFO and the status still said the FIFO was not
  77. empty, interrupt priorities not identical, that sort of stuff.
  78.  
  79. On the other hand, TI had the fewest differences, but the differences
  80. they had sounded critical to reliable operation:
  81.     Error (3)...Tx FIFO reset : LS = 0
  82.     Error (7)...BI/FE/EIF test: IIR = c1  LSR = 60
  83.     Error (7)...IIR/LSR not cleared: IIR = x1  LSR = 60
  84. (You will have to look at the COMTEST code to see exactly what test is
  85.  being performed which causes these errors.)
  86.  
  87. So far, I have not found any non-National parts that report zero errors in
  88. this program.  Note also that even National has made five revisions to
  89. the 16550 over the years and the newest ones behave a bit differently than
  90. the classic NS16550AFN that people worship.  But COMTEST turns a blind
  91. eye to the differences within the National product line and reports
  92. no errors on the National parts (except for the original 16550_), so just
  93. be aware of that bias.
  94.  
  95. FYI, National reorganized their part numbering system a few
  96. years ago, and the NS16650AFN no longer exists.  The new numbers are
  97. all of the form  PC16550DV, with minor differences in the letters
  98. depending on package material and shape.   In some stores, you will
  99. pay $15 for a NS16550AFN made in 1990 and in the next bin are the
  100. new PC16550 parts with minor fixes National has made since the AFN part,
  101. and they cost half as much.  I know we were buying them in volume
  102. for $5 in 1993.  Expect the price on real NS16550AFNs to keep going up
  103. until people figure out that the new part number is the same as the
  104. old part number.
  105.  
  106. Oh, if you run COMTEST on a 16550 that is in a modem, you need to
  107. first issue a ATE0&W command to the modem so that it will not echo
  108. any of the test characters.  If you forget to do this, you will
  109. get at least one error:
  110.     Error (6)...Timeout interrupt failed: IIR = c1  LSR = 61
  111.  
  112. For the record, I made National parts the sole-source when external
  113. 16550s were specified on projects I was associated with since the other
  114. vendors either didn't bother to try to explain the differences or
  115. could not.
  116.  
  117. Frank Durda IV <uhclem@nemesis.lonestar.org>|(C) 1995 Frank Durda IV, All
  118.                         |Rights Reserved.  Compuserve
  119. ...letni!rwsys!nemesis!uhclem               |and MSN must have a license for
  120.                         |storage or carriage of this text.
  121.                          Please report violations.
  122.  
  123.